home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / graphics / clip.inc next >
Text File  |  1998-06-24  |  966b  |  57 lines

  1. include "inc/exec/types.inc";
  2. include "inc/graphics/gfx.inc";
  3. include "inc/exec/semaphores.inc";
  4. include "inc/utility/hooks.inc";
  5.  
  6. def NEWLOCKS = ;
  7.  
  8. struct Layer is
  9.   front:ulong;
  10.   back:ulong;
  11.   ClipRect:ulong;
  12.   rp:ulong;
  13.   bounds:Rectangle;
  14.   reserved[4]:ubyte;
  15.   priority:uword;
  16.   Flags:uword;
  17.   SuperBitMap:ulong;
  18.   SuperClipRect:ulong;
  19.   Window:ulong;
  20.   Scroll_X,Scroll_Y:word;
  21.   cr:ulong;
  22.   cr2:ulong;
  23.   crnew:ulong;
  24.   SuperSaveClipRects:ulong;
  25.   _cliprects:ulong;
  26.   LayerInfo:ulong;
  27.   Lock:SignalSemaphore;
  28.   BackFill:ulong;
  29.   reserved1:ulong;
  30.   ClipRegion:ulong;
  31.   saveClipRects:ulong;
  32.   Width,Height:word;
  33.   reserved2[18]:ubyte;
  34.   DamageList:ulong;
  35. ;
  36.  
  37. struct ClipRect is
  38.   Next:ulong;
  39.   prev:ulong;
  40.   lobs:ulong;
  41.   BitMap:ulong;
  42.   bounds:Rectangle;
  43.   _p1:ulong;
  44.   _p2:ulong;
  45.   reserved:long;
  46.   Flags:long;
  47. ;
  48.  
  49. def CR_NEEDS_NO_CONCEALED_RASTERS = 1;
  50. def CR_NEEDS_NO_LAYERBLIT_DAMAGE = 2;
  51.  
  52. def ISLESSX = 1;
  53. def ISLESSY = 2;
  54. def ISGRTRX = 4;
  55. def ISGRTRY = 8;
  56.  
  57.